import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
import Index from "@/views/Index.vue";

// 路由地址
const routes: RouteRecordRaw[] = [
  {
    path: "/",
    component: Index,
  },
];
// 创建路由
const router = createRouter({
  history: createWebHashHistory(),
  routes: routes,
});

// 导出路由
export default router;
